package git.soulbgm.pojo;

import javax.persistence.Id;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.Builder;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import git.soulbgm.common.annotation.IdBuild;
import git.soulbgm.common.enumerate.IdType;

/**
 * 年级表
 *
 * @author SoulBGM
 * @version V1.0
 * @date 2019-11-25 11:21:14
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel(value = "年级表")
public class Grade {

    /**
     * 主键
     */
    @Id
    @IdBuild(IdType.SEQUENCE)
    @ApiModelProperty("主键")
    private Long gradeId;

    /**
     * 年级名次
     */
    @ApiModelProperty("年级名次")
    private String gradeName;


}